package dudghk;

public class J05Ex36ComputeTime {
	public static void main(String[] args){
		//1.변수선언
	int day2sec=86400; //하루를 초로 환산
	int hour2sec=3600; //1시간을 초로 환산
	int min2sec=60;    // 1분을 초로 환산
	String result="";
	
	
	// 시간계산
	result+="1234567890초는"+
	//수식+"일입니다";
			(1234567890/day2sec)+"일입니다" + "\n";
	
			result+="12345초는"+
					//수식+"시간입니다";
					(12345/hour2sec)+ "시간입니다"+"\n";
			
			result+="67890초는"+
					//수식+"분입니다";
					(67890/min2sec)+ "분입니다";
			
	
	
	
	//결과출력
		
		
		System.out.println(result);
	}//main
	
}//calss
